﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UeyesAIS.Interface
{
    /// <summary>
    /// 硬件服务接口
    /// </summary>
    /// <typeparam name="T1">硬件参数类型</typeparam>
    /// <typeparam name="T2">硬件类型描述</typeparam>
    public interface IDeviceService<T1, T2>
    {
        BaseDeviceControl DeviceEntityControl { get; }
        T1 Parameter { get; set; }
        T2 DefaultProduct { get; set; }

        DateTime LoadingTime { get; }
        void OpenServer();
        void CloseServer();
    }
}
